package com.sunway.android.activity;

import com.sunway.android.R;
import com.sunway.android.adapter.GridViewImageAdapter;

import android.app.Activity;
import android.os.Bundle;
import android.widget.GridView;

public class MainActivity extends Activity {
	private GridView gridviewtest;
	private GridViewImageAdapter gridViewImageAdapter;
	
	@Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.gridviewtest);
        
        gridviewtest=(GridView)findViewById(R.layout.gridviewtest);
        
        gridViewImageAdapter=new GridViewImageAdapter(this);
        gridviewtest.setAdapter(gridViewImageAdapter);
    }
}